package hotel.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

@SuppressWarnings("serial")
public class RoomForm extends ActionForm 
{
		private String roomClass;
		private int beds;
		
		public String getRoomClass() {
			return roomClass;
		}
		public void setRoomClass(String roomClass) {
			this.roomClass = roomClass;
		}
		public int getBeds() {
			return beds;
		}
		public void setBeds(int beds) {
			this.beds = beds;
		}

		@Override
		public void reset(ActionMapping mapping, HttpServletRequest request) 
		{
			beds = 0;
			roomClass = null;
		}
}
